<div class="content">
  <!-- MIS内容区 -->
  <div class="mis-content">
    <!-- MIS则栏菜单 -->
    <nz-sider class="mis-menu" [(nzCollapsed)]="isCollapsed" [nzWidth]="246">
      <ul class="ful" nz-menu [nzTheme]="'light'" [nzMode]="'inline'" [nzInlineCollapsed]="isCollapsed">

        <!-- 服务 -->
        <li nz-submenu *ngIf="is.menu.curItem=='data'"
          [nzOpen]=" is.cr=='data_directory_mis' || is.cr=='data_sprite_mis' || is.cr=='data_style_mis'">
          <span title><i nz-icon type="medium"></i><span class="nav-text">地图方案</span></span>
          <ul>
            <li nz-menu-item (click)="is.navigate('/data_directory_mis')" [nzSelected]="is.cr=='data_directory_mis'">
              配图方案
            </li>
            <li nz-menu-item (click)="is.navigate('/data_style_mis')" [nzSelected]="is.cr=='data_style_mis'">
              配图样式
            </li>
            <li nz-menu-item (click)="is.navigate('/data_sprite_mis')" [nzSelected]="is.cr=='data_sprite_mis'">
              雪碧图
            </li>
          </ul>
        </li>
        <li nz-submenu *ngIf="is.menu.curItem=='data'" [nzOpen]="is.cr=='data_service_mis'">
          <span title><i nz-icon type="cloud-server"></i><span class="nav-text">地图服务</span></span>
          <ul>
            <li nz-menu-item (click)="is.navigate('/data_service_mis')" [nzSelected]="is.cr=='data_service_mis'">
              服务管理</li>
          </ul>
        </li>
        <li nz-submenu *ngIf="is.menu.curItem=='data'" [nzOpen]="is.cr=='data_data_mis' || is.cr=='data_datadefin_mis'">
          <span title><i nz-icon type="database"></i><span class="nav-text">数据管理</span></span>
          <ul>
            <li nz-menu-item (click)="is.navigate('/data_datadefin_mis')" [nzSelected]="is.cr=='data_datadefin_mis'">
              数据定义
            </li>
            <li nz-menu-item (click)="is.navigate('/data_data_mis')" [nzSelected]="is.cr=='data_data_mis'">
              文件管理
            </li>
          </ul>
        </li>
        <li nz-submenu *ngIf="is.menu.curItem=='data'"
          [nzOpen]="is.cr=='data_indexclumn_mis' || is.cr=='data_indexdata_mis' || is.cr=='data_specialreport_mis' || is.cr=='data_reportdictionary_mis'">
          <span title><i nz-icon type="file-markdown"></i><span class="nav-text">专题数据</span></span>
          <ul>
            <li nz-menu-item (click)="is.navigate('/data_indexclumn_mis')" [nzSelected]="is.cr=='data_indexclumn_mis'">
              指标目录
            </li>
            <li nz-menu-item (click)="is.navigate('/data_indexdata_mis')" [nzSelected]="is.cr=='data_indexdata_mis'">
              指标数据
            </li>
            <li nz-menu-item (click)="is.navigate('/data_specialreport_mis')"
              [nzSelected]="is.cr=='data_specialreport_mis'">
              报表目录
            </li>
            <li nz-menu-item (click)="is.navigate('/data_reportdictionary_mis')"
              [nzSelected]="is.cr=='data_reportdictionary_mis'">
              报表定义
            </li>
          </ul>
        </li>
        <li nz-submenu *ngIf="is.menu.curItem=='data'"
          [nzOpen]="is.cr=='data_metadatadir_mis' || is.cr=='data_dictionarydir_mis' || is.cr=='data_metadata_mis' || is.cr=='data_dictionary_mis'">
          <span title><i nz-icon type="cloud-server"></i><span class="nav-text">元数据</span></span>
          <ul>
            <li nz-menu-item (click)="is.navigate('/data_metadata_mis')" [nzSelected]="is.cr=='data_metadata_mis'">
              数据结构
            </li>
            <li nz-menu-item (click)="is.navigate('/data_dictionary_mis')" [nzSelected]="is.cr=='data_dictionary_mis'">
              数据字典
            </li>
            <li nz-menu-item (click)="is.navigate('/data_metadatadir_mis')"
              [nzSelected]="is.cr=='data_metadatadir_mis'">
              结构目录
            </li>
            <li nz-menu-item (click)="is.navigate('/data_dictionarydir_mis')"
              [nzSelected]="is.cr=='data_dictionarydir_mis'">
              字典目录
            </li>
          </ul>
        </li>

        <!-- 授权 -->
        <li nz-menu-item *ngIf="is.menu.curItem=='root'" (click)="is.navigate('/root_myauthorization_mis')"
          [nzSelected]="is.cr=='root_myauthorization_mis'">
          <i nz-icon type="appstore"></i>我的授权
        </li>
        <li nz-menu-item *ngIf="is.menu.curItem=='root'" (click)="is.navigate('/root_blacklist_mis')"
          [nzSelected]="is.cr=='root_blacklist_mis'">
          <i nz-icon type="bug"></i>黑名单
        </li>
        <li nz-menu-item *ngIf="is.menu.curItem=='root'" (click)="is.navigate('/root_statistics_mis')"
          [nzSelected]="is.cr=='root_statistics_mis'">
          <i nz-icon type="fund"></i>访问统计
        </li>
        <li nz-menu-item *ngIf="is.menu.curItem=='root'" (click)="is.navigate('/root_mycode_mis')"
          [nzSelected]="is.cr=='root_mycode_mis'">
          <i nz-icon type="barcode"></i>授权码
        </li>

        <!-- 团队 -->
        <li nz-menu-item *ngIf="is.menu.curItem=='users'" (click)="is.navigate('/users_user_mis')"
          [nzSelected]="is.cr=='users_user_mis'">
          <i nz-icon type="user"></i>人员管理
        </li>
        <li nz-menu-item *ngIf="is.menu.curItem=='users'" (click)="is.navigate('/users_role_mis')"
          [nzSelected]="is.cr=='users_role_mis'">
          <i nz-icon type="aliwangwang"></i>角色管理
        </li>
        <li nz-menu-item *ngIf="is.menu.curItem=='users'" (click)="is.navigate('/users_department_mis')"
          [nzSelected]="is.cr=='users_department_mis'">
          <i nz-icon type="heart"></i>机构管理
        </li>
        <li nz-menu-item *ngIf="is.menu.curItem=='users'" (click)="is.navigate('/users_operatingpost_mis')"
          [nzSelected]="is.cr=='users_operatingpost_mis'">
          <i nz-icon type="appstore"></i>岗位管理
        </li>
        <li nz-menu-item *ngIf="is.menu.curItem=='users'" (click)="is.navigate('/users_workinggroup_mis')"
          [nzSelected]="is.cr=='users_workinggroup_mis'">
          <i nz-icon type="tool"></i>工作组管理
        </li>

        <li nz-submenu *ngIf="is.menu.curItem=='protal'" [nzOpen]="is.cr=='protal_notice_mis' || is.cr=='protal_doc_mis'
                  || is.cr=='protal_msg_mis' || is.cr=='protal_link_mis'">
          <span title><i nz-icon type="wallet"></i><span class="nav-text">内容管理</span></span>
          <ul>
            <li nz-menu-item (click)="is.navigate('/protal_notice_mis')" [nzSelected]="is.cr=='protal_notice_mis'">
              通知公告
            </li>
            <li nz-menu-item (click)="is.navigate('/protal_doc_mis')" [nzSelected]="is.cr=='protal_doc_mis'">
              文章管理
            </li>
            <li nz-menu-item (click)="is.navigate('/protal_msg_mis')" [nzSelected]="is.cr=='protal_msg_mis'">
              留言管理
            </li>
            <li nz-menu-item (click)="is.navigate('/protal_link_mis')" [nzSelected]="is.cr=='protal_link_mis'">
              友情链接
            </li>
          </ul>
        </li>
        <li nz-submenu *ngIf="is.menu.curItem=='protal'" [nzOpen]="is.cr=='protal_site_mis' || is.cr=='protal_column_mis'
                  || is.cr=='protal_subject_mis' || is.cr=='protal_msgclass_mis' || is.cr=='protal_sensitive_mis'">
          <span title><i nz-icon type="setting"></i><span class="nav-text">门户配置</span></span>
          <ul>
            <li nz-menu-item (click)="is.navigate('/protal_site_mis')" [nzSelected]="is.cr=='protal_site_mis'">
              站点管理
            </li>
            <li nz-menu-item (click)="is.navigate('/protal_column_mis')" [nzSelected]="is.cr=='protal_column_mis'">
              栏目管理
            </li>
            <li nz-menu-item (click)="is.navigate('/protal_subject_mis')" [nzSelected]="is.cr=='protal_subject_mis'">
              专题管理
            </li>
            <li nz-menu-item (click)="is.navigate('/protal_msgclass_mis')" [nzSelected]="is.cr=='protal_msgclass_mis'">
              留言分类
            </li>
            <li nz-menu-item (click)="is.navigate('/protal_sensitive_mis')"
              [nzSelected]="is.cr=='protal_sensitive_mis'">
              敏感词
            </li>
          </ul>
        </li>

        <!-- 工具 -->
        <li nz-submenu *ngIf="is.menu.curItem=='tools'"
          [nzOpen]="is.cr=='tools_orgadmin_mis' || is.cr=='tools_admin_mis' || is.cr=='tools_analysis_mis' || is.cr=='tools_attribute_mis'">
          <span title><i nz-icon type="setting"></i><span class="nav-text">功能配置</span></span>
          <ul>
            <li nz-menu-item (click)="is.navigate('/tools_orgadmin_mis')" [nzSelected]="is.cr=='tools_orgadmin_mis'">
              政区配置
            </li>
            <li nz-menu-item (click)="is.navigate('/tools_admin_mis')" [nzSelected]="is.cr=='tools_admin_mis'">
              政区定位
            </li>
            <li nz-menu-item (click)="is.navigate('/tools_attribute_mis')" [nzSelected]="is.cr=='tools_attribute_mis'">
              属性查询
            </li>
            <li nz-menu-item (click)="is.navigate('/tools_analysis_mis')" [nzSelected]="is.cr=='tools_analysis_mis'">
              叠加分析
            </li>
          </ul>
        </li>
        <li nz-submenu *ngIf="is.menu.curItem=='tools'" [nzOpen]="is.cr=='tools_syn_mis' || is.cr=='tools_synconfig_mis'">
          <span title><i nz-icon type="cloud"></i><span class="nav-text">数据推送</span></span>
          <ul>
            <li nz-menu-item (click)="is.navigate('/tools_syn_mis')" [nzSelected]="is.cr=='tools_syn_mis'">推送信息</li>
            <li nz-menu-item (click)="is.navigate('/tools_synconfig_mis')" [nzSelected]="is.cr=='tools_synconfig_mis'">
              推送配置</li>
          </ul>
        </li>
        <!-- 系统 -->
        <li nz-submenu *ngIf="is.menu.curItem=='saas'" [nzOpen]="is.cr=='saas_resource_mis'">
          <span title><i nz-icon type="cluster"></i><span class="nav-text">资源目录</span></span>
          <ul>
            <li nz-menu-item (click)="is.navigate('/saas_resource_mis')" [nzSelected]="is.cr=='saas_resource_mis'">
              资源目录
            </li>
          </ul>
        </li>
        <li nz-submenu *ngIf="is.menu.curItem=='saas'"
          [nzOpen]="is.cr=='saas_appversion_mis' || is.cr=='saas_appbook_mis' || is.cr=='saas_appinfo_mis'">
          <span title><i nz-icon type="appstore"></i><span class="nav-text">APP运维</span></span>
          <ul>
            <li nz-menu-item (click)="is.navigate('/saas_appinfo_mis')" [nzSelected]="is.cr=='saas_appinfo_mis'">
              App信息
            </li>
            <li nz-menu-item (click)="is.navigate('/saas_appversion_mis')" [nzSelected]="is.cr=='saas_appversion_mis'">
              版本管理
            </li>
            <li nz-menu-item (click)="is.navigate('/saas_appbook_mis')" [nzSelected]="is.cr=='saas_appbook_mis'">
              问题反馈
            </li>
          </ul>
        </li>
        <li nz-submenu *ngIf="is.menu.curItem=='saas'" [nzOpen]="is.cr=='saas_logs_mis' || is.cr=='saas_lineuser_mis'">
          <span title><i nz-icon type="exception"></i><span class="nav-text">安全审计</span></span>
          <ul>
            <li nz-menu-item (click)="is.navigate('/saas_logs_mis')" [nzSelected]="is.cr=='saas_logs_mis'">登录日志</li>
            <li nz-menu-item (click)="is.navigate('/saas_lineuser_mis')" [nzSelected]="is.cr=='saas_lineuser_mis'">
              在线用户</li>
          </ul>
        </li>
        <li nz-submenu *ngIf="is.menu.curItem=='saas'" [nzOpen]="is.cr=='saas_regservice_mis' || is.cr=='saas_regmenu_mis' || is.cr=='saas_regdata_mis'
        || is.cr=='saas_regmaplayer_mis' || is.cr=='saas_regmapextent_mis' || is.cr=='saas_reginterface_mis'">
          <span title><i nz-icon type="eye"></i><span class="nav-text">应用管理</span></span>
          <ul>
            <li nz-menu-item (click)="is.navigate('/saas_regservice_mis')" [nzSelected]="is.cr=='saas_regservice_mis'">
              应用系统注册</li>
            <li nz-menu-item (click)="is.navigate('/saas_regmenu_mis')" [nzSelected]="is.cr=='saas_regmenu_mis'">
              功能权限定义
            </li>
            <li nz-menu-item (click)="is.navigate('/saas_regdata_mis')" [nzSelected]="is.cr=='saas_regdata_mis'">
              数据权限定义
            </li>
            <li nz-menu-item (click)="is.navigate('/saas_reginterface_mis')"
              [nzSelected]="is.cr=='saas_reginterface_mis'">接口权限定义</li>
          </ul>
        </li>

      </ul>
    </nz-sider>

    <!-- MIS则栏控制 -->
    <div class="mis-sider {{isCollapsed?'mis-sider-close':''}}" (click)="misMargin()">
      <i nz-icon [type]="isCollapsed?'right':'left'" class="icon"></i>
    </div>

    <!-- MIS内容区域 -->
    <div class="mis-con {{isCollapsed?'mis-con-close':''}}">
      <router-outlet></router-outlet>
    </div>
  </div>
</div>
